import {
  Sun,
  Sunny,
  Cloudy,
  CloudyNight,
  Snow,
  Snowflake,
  LightRain,
  HeavyRain,
  Thunderstorm,
  Fog,
  Moon,
  Wind,
  Sandstorm
} from '@icon-park/vue-next'

// 天气代码映射
const weatherIcon = {
  63001: { icon: Cloudy, label: '多云', color: '#A4B0BE' }, // 云朵灰
  63002: { icon: CloudyNight, label: '夜间多云', color: '#5D6D7E' }, // 深云灰
  63003: { icon: Fog, label: '大雾', color: '#BDC3C7' }, // 雾霾灰
  63004: { icon: HeavyRain, label: '大雨', color: '#3498DB' }, // 大雨蓝
  63005: { icon: Wind, label: '大风', color: '#7FB3D5' }, // 风蓝
  63006: { icon: LightRain, label: '小雨', color: '#5DADE2' }, // 小雨蓝
  63007: { icon: Moon, label: '月亮', color: '#F4D03F' }, // 月光黄
  63008: { icon: Sandstorm, label: '沙尘暴', color: '#DC7633' }, // 沙尘橙
  63009: { icon: Snow, label: '大雪', color: '#AED6F1' }, // 雪天浅蓝
  63010: { icon: Snowflake, label: '小雪', color: '#D6EAF8' }, // 雪花冰蓝
  63011: { icon: Sun, label: '晴', color: '#F39C12' }, // 阳光橙
  63012: { icon: Sunny, label: '多云转晴天', color: '#F1C40F' }, // 晴朗黄
  63013: { icon: Thunderstorm, label: '雷雨', color: '#6C3483' }, // 雷电紫
  63014: { icon: Wind, label: '刮风', color: '#85C1E9' } // 微风蓝
}

export default weatherIcon